package com.ruoyi.bill.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户财务台账业务对象 bill_finance
 *
 * @author linziheng
 * @date 2024-02-29
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BillFinanceBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 合同简称
     */
    @NotBlank(message = "客户简称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String htName;

    /**
     * 打款日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date paymentDate;

    /**
     * 付款人
     */
    private String payer;

    /**
     * 付款金额
     */
    private BigDecimal amount;

    /**
     * 方式
     */
    private String type;

    /**
     * SK
     */
    private String sk;

    /**
     * 状态
     */
    private String checkType;

    /**
     * 备注
     */
    private String remark;


}
